package com.suarte.core.dao;

import com.suarte.core.Company;
import com.suarte.core.Contact;
import com.suarte.core.Remission;
import com.suarte.core.RemissionDetail;
import java.util.Date;
import org.appfuse.dao.GenericDao;

import java.util.List;

/**
 * @date   Dec 20, 2010
 * @author Ggutierrez
 */
public interface RemissionDao extends GenericDao<Remission, Long>  {

    public List<Remission> findByDescription(String description);
    public void store(Remission object);
    public Remission get(Long id);
    public void deleteDetails(List<RemissionDetail> args);
    public List<Remission> findRemissions(Long id, Long quotationId, Long workOrderId, String description, Date date, Company company, Contact contact);
}
